<template>
  <div id="app">
    <transition name="fade" mode="out-in"> 
      <router-view></router-view>
    </transition>
    <Tabbar></Tabbar>
  </div>
</template>

<script>
import Tabbar from '@/components/Tabbar';
export default {
  components:{
    Tabbar,
  },
}
</script>

<style lang="scss">
*{
  margin: 0;padding: 0;
}
.fade-enter{
  opacity: 0;
}
.fade-enter-active{
    transition: all 0.2s;
}
.fade-enter-to{
    opacity: 1;
}
.fade-leave{
    opacity: 0;
}
.fade-leave-active{
    transition: all 0.2s;
}
.fade-leave-to{
    opacity: 1;
}
</style>